begintownscript;

variables;
short bmessage,pcs,seated,leadchar,rctx,rcty;
string custom_m;

body;

beginstate INIT_STATE;

	set_crime_tolerance(5);
	turn_off_training(1);

	set_name(6,"Peacechild");

	force_instant_terrain_redraw();
	if(get_flag(1,0) < 3){
		reset_dialog();
		add_dialog_str(0,"This place always has... *rich* smells to it.  You don't come here often because you usually get by on your own, and also because...",0);
		add_dialog_str(1,"Well, okay.  The guy is named _Peacechild._  And he's...  well, he's just kinda weird.  It's tough to place it._",0);
		add_dialog_str(2,"But hey.  If he's got good services and he doesn't charge for them, he can't be too bad.",0);
		add_dialog_choice(0,". . .");
		bmessage = run_dialog(0);
		set_flag(1,0,3);
	}

break;

beginstate EXIT_STATE;
break;

beginstate START_STATE;

	if(get_crime_level() > 0){
		message_dialog("You're nowhere near well-equipped enough to live as a deserter.  Your crime is found out and you die.","");
		kill_char(1000,3,0);
	}

break;

beginstate 10;

	if(get_flag(1,0) < 4){
		reset_dialog();
		add_dialog_str(0,"_Goddamnit, I told you I'd have the next batch ready by next week at the earliest!  It's not my fault that your movers get nabbed, so get the--_",0);
		add_dialog_str(1,"He quickly realizes that you're not who he thought you were and composes himself.",0);
		add_dialog_str(2,"_Ah!  Well now.  Sorry about that-- I get angry customers, even in a remote location like this.  Or should I say, especially here?  No, nevermind that.  What can I do for you?_",0);
		add_dialog_str(3,"_After all, I love to stay on the good side of soldiers._",0);
		add_dialog_choice(0,". . .");
		bmessage = run_dialog(1);
		set_flag(1,0,4);
	}

break;

